#pragma warning(disable:4996)//第一种：处理scanf在VS2022中报错
#define _CRT_SECURE_NO_WARNINGS
//第二种:处理scanf在VS2022中报错
#include<bits/stdc++.h> 


using namespace std;

int main()
{
    int a, b;
    scanf("%d %d", &a, &b);//第三种：在VS2022中将scanf写成scanf_s
    printf("%d+%d=%d\n", a, b, a + b);
    printf("%d-%d=%d", a, b, a - b);
    return 0;
}